home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / GRAPHICS / BMPWIZ / BMPWIZ.ZIP / EXT.BAS < prev    next >
Unknown  |  1994-02-03  |  883 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert GW-BASIC (document/gwBasic) ext Supported
66% dexvert GFA-BASIC Atari (other/gfaBASICAtari) ext Supported
1% dexvert Memotech MTX BASIC source (document/memotechMTXBASICSource) ext Unsupported
1% dexvert Amiga BASIC Protected File (other/amigaBASICProtectedFile) ext Unsupported
1% dexvert BAS VBDOS Pro 1.0 Source (other/basVBDOSPro10Source) ext Unsupported
1% dexvert Visual Basic Tokenized Source (other/visualBasicTokenizedSource) ext Unsupported
1% dexvert ZBASIC (other/zbasic) ext Unsupported
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6f 03 00 00 0d 0a 27 20 | 45 78 74 72 61 63 74 20 |o.....' |Extract |
|00000010| 2f 20 43 72 6f 6d 61 20 | 4b 65 79 0d 0a 27 20 53 |/ Croma |Key..' S|
|00000020| 65 6c 65 63 74 20 61 20 | 72 61 6e 67 65 20 6f 66 |elect a |range of|
|00000030| 20 52 47 42 20 63 6f 6c | 6f 72 20 61 6e 64 20 73 | RGB col|or and s|
|00000040| 75 62 73 74 75 74 65 20 | 77 69 74 68 20 61 20 72 |ubstute |with a r|
|00000050| 61 6e 67 65 2c 20 52 65 | 64 20 74 6f 20 42 6c 75 |ange, Re|d to Blu|
|00000060| 65 0d 0a 0d 0a 27 20 49 | 6e 70 75 74 3a 09 31 2d |e....' I|nput:.1-|
|00000070| 34 2d 38 0d 0a 27 20 4f | 75 74 70 75 74 3a 09 32 |4-8..' O|utput:.2|
|00000080| 34 20 62 69 74 20 74 72 | 75 65 20 63 6f 6c 6f 72 |4 bit tr|ue color|
|00000090| 0d 0a 0d 0a 27 20 41 75 | 74 68 6f 72 3a 09 41 6e |....' Au|thor:.An|
|000000a0| 64 72 65 61 20 42 65 6e | 6f 6e 69 09 09 09 20 72 |drea Ben|oni... r|
|000000b0| 65 76 3a 09 31 2e 32 0d | 0a 0d 0a 0d 0a 73 74 72 |ev:.1.2.|.....str|
|000000c0| 69 6e 67 20 20 20 20 09 | 69 6e 70 46 69 6c 65 2c |ing .|inpFile,|
|000000d0| 6f 75 74 46 69 6c 65 0d | 0a 44 65 76 43 6f 6e 09 |outFile.|.DevCon.|
|000000e0| 49 62 6d 70 2c 4f 62 6d | 70 0d 0a 52 47 42 09 70 |Ibmp,Obm|p..RGB.p|
|000000f0| 69 78 0d 0a 66 6c 6f 61 | 74 20 20 09 78 2c 79 2c |ix..floa|t .x,y,|
|00000100| 74 0d 0a 0d 0a 69 6e 70 | 46 69 6c 65 3d 22 54 65 |t....inp|File="Te|
|00000110| 73 74 69 2e 62 6d 70 22 | 0d 0a 6f 75 74 46 69 6c |sti.bmp"|..outFil|
|00000120| 65 3d 22 54 65 73 74 6f | 2e 62 6d 70 22 0d 0a 0d |e="Testo|.bmp"...|
|00000130| 0a 49 62 6d 70 3d 4c 6f | 61 64 49 6d 61 67 65 28 |.Ibmp=Lo|adImage(|
|00000140| 69 6e 70 46 69 6c 65 29 | 0d 0a 4f 62 6d 70 3d 43 |inpFile)|..Obmp=C|
|00000150| 72 65 61 74 65 49 6d 61 | 67 65 28 49 62 6d 70 2e |reateIma|ge(Ibmp.|
|00000160| 57 69 64 74 68 2c 49 62 | 6d 70 2e 48 65 69 67 68 |Width,Ib|mp.Heigh|
|00000170| 74 2a 2e 38 30 2c 32 34 | 29 0d 0a 0d 0a 46 6f 72 |t*.80,24|)....For|
|00000180| 20 79 3d 30 20 74 6f 20 | 4f 62 6d 70 2e 48 65 69 | y=0 to |Obmp.Hei|
|00000190| 67 68 74 2d 31 0d 0a 20 | 20 20 46 6f 72 20 78 3d |ght-1.. | For x=|
|000001a0| 30 20 74 6f 20 4f 62 6d | 70 2e 57 69 64 74 68 2d |0 to Obm|p.Width-|
|000001b0| 31 0d 0a 20 20 20 20 20 | 20 70 69 78 3d 47 65 74 |1.. | pix=Get|
|000001c0| 50 69 78 65 6c 28 49 62 | 6d 70 2c 78 2c 79 29 0d |Pixel(Ib|mp,x,y).|
|000001d0| 0a 20 20 20 20 20 20 69 | 66 28 28 70 69 78 2e 42 |. i|f((pix.B|
|000001e0| 6c 75 65 3e 28 70 69 78 | 2e 47 72 65 65 6e 2b 33 |lue>(pix|.Green+3|
|000001f0| 37 29 29 20 7c 20 28 70 | 69 78 2e 42 6c 75 65 3e |7)) | (p|ix.Blue>|
|00000200| 28 70 69 78 2e 52 65 64 | 2b 33 37 29 29 20 7c 20 |(pix.Red|+37)) | |
|00000210| 28 70 69 78 2e 4c 75 6d | 3e 31 39 30 29 29 0d 0a |(pix.Lum|>190))..|
|00000220| 20 20 20 20 20 20 20 20 | 20 70 69 78 2e 42 6c 75 | | pix.Blu|
|00000230| 65 3d 32 35 35 2f 4f 62 | 6d 70 2e 48 65 69 67 68 |e=255/Ob|mp.Heigh|
|00000240| 74 2a 79 0d 0a 20 20 20 | 20 20 20 20 20 20 70 69 |t*y.. | pi|
|00000250| 78 2e 52 65 64 3d 32 35 | 35 2d 28 32 35 35 2f 4f |x.Red=25|5-(255/O|
|00000260| 62 6d 70 2e 48 65 69 67 | 68 74 2a 79 29 0d 0a 20 |bmp.Heig|ht*y).. |
|00000270| 20 20 20 20 20 20 20 20 | 70 69 78 2e 47 72 65 65 | |pix.Gree|
|00000280| 6e 3d 30 0d 0a 20 20 20 | 20 20 20 65 6e 64 69 66 |n=0.. | endif|
|00000290| 0d 0a 20 20 20 20 20 20 | 53 65 74 50 69 78 65 6c |.. |SetPixel|
|000002a0| 28 4f 62 6d 70 2c 78 2c | 79 2c 70 69 78 29 0d 0a |(Obmp,x,|y,pix)..|
|000002b0| 20 20 20 4e 65 78 74 20 | 78 0d 0a 20 20 20 69 66 | Next |x.. if|
|000002c0| 28 79 25 31 30 3d 30 29 | 0d 0a 20 20 20 20 20 20 |(y%10=0)|.. |
|000002d0| 44 73 70 57 68 69 6c 65 | 28 22 43 72 6f 6d 61 20 |DspWhile|("Croma |
|000002e0| 4b 65 79 22 2c 31 30 30 | 2f 4f 62 6d 70 2e 48 65 |Key",100|/Obmp.He|
|000002f0| 69 67 68 74 2a 79 29 0d | 0a 20 20 20 20 20 20 50 |ight*y).|. P|
|00000300| 72 65 76 69 65 77 28 4f | 62 6d 70 2c 22 4f 75 74 |review(O|bmp,"Out|
|00000310| 70 75 74 22 2c 35 2c 35 | 29 09 0d 0a 20 20 20 65 |put",5,5|)... e|
|00000320| 6e 64 69 66 0d 0a 4e 65 | 78 74 20 79 0d 0a 50 72 |ndif..Ne|xt y..Pr|
|00000330| 65 76 69 65 77 28 4f 62 | 6d 70 2c 22 4f 75 74 70 |eview(Ob|mp,"Outp|
|00000340| 75 74 22 2c 35 2c 35 29 | 09 0d 0a 44 73 70 4d 65 |ut",5,5)|...DspMe|
|00000350| 73 28 22 45 6e 64 22 29 | 0d 0a 53 61 76 65 49 6d |s("End")|..SaveIm|
|00000360| 61 67 65 28 4f 62 6d 70 | 2c 6f 75 74 46 69 6c 65 |age(Obmp|,outFile|
|00000370| 29 0d 0a | |).. | |
+--------+-------------------------+-------------------------+--------+--------+